package com.ueboot.weishop.repository.role;

import com.ueboot.weishop.entity.role.User;
import com.ueboot.core.repository.BaseRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends BaseRepository<User, Long> {

    User findOneByUsername(String username);
    User findByUsernameAndPassword(String usename,String password);

}
